home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio / Ham Radio CD-ROM (Emerald Software) (1995).ISO / bbs / msys109 / ms400.mod < prev    next >
Text File  |  1990-06-27  |  6KB  |  156 lines

  1. Here is a slightly editted version of the documentation for MBBIOS
  2. that tells how to modify the MS-400 board for shared interrupts. 
  3. The general idea can be applied to other boards as well. 
  4.  
  5. Shared Interrupt Modification
  6. -----------------------------
  7.  
  8. Purpose:
  9. --------
  10.  
  11. This modification will allow you to install 4 ports using only one slot and
  12. one interrupt request line (IRQ) on an IBM PC or compatible.  The change
  13. is nondestructive since no traces are cut and can be easily removed.
  14.  
  15. Hardware:
  16. ---------
  17.  
  18. The DFI MS-400 board provides 4 ASYNC ports and is available from
  19. several sources.  It comes in two flavors: XT and AT with the only
  20. difference being the 8250 versus the 16450 chips.  As shipped from the
  21. factory, the MS-400 requires one IRQ line per port.
  22.  
  23. Additional parts required are 4 small signal diodes (I used 1N914s
  24. from Radio Shack) and a 4.7K resistor (1/8 or 1/4 watt).
  25.  
  26. JDR MicroDevices carries (or at least did so on Jan 1st, 1990) the
  27. MS-400.  Their part number for the XT version is MCT-MS and it was priced
  28. at $90.  Address: 110 Knowles Drive, Los Gatos, CA 95030.  Their phone
  29. is (800)-538-5000 or (408)-559-1200 (for CA and non-US). The AT version
  30. of the card is MCT-AMS for $140.
  31.  
  32. Planning:
  33. ---------
  34.  
  35. Unfortunately, you must plan your use of the ports since the exact
  36. placement of the parts is dependent on the change.  First determine
  37. how many ports will be for BBS use only and how many should be for
  38. general use.
  39.  
  40. Some possible variations are below.  Note that the numbers must
  41. be consecutive.
  42.  
  43.           Multipurpose ports          BBS Ports
  44.           ------------------          ---------
  45.                 none                  COM 3,4,5,6
  46.                 COM 2                 COM 3,4,5
  47.                 COM 1,2               COM 3,4
  48.  
  49.  
  50. These are not all the possible permutations.  In fact, two cards could
  51. be used to provide 8 BBS ports if you like.  Trying to explain how to
  52. set up all the possibilities would take many many pages of text.
  53.  
  54. The change outlined below forces all the BBS ports down IRQ2 leaving
  55. the standard COM1 and COM2 IRQ lines alone.
  56.  
  57. Carrying out the change:
  58. ------------------------
  59.  
  60. Example will use COM2 as a multipurpose port and COM 3,4,5 for BBS.
  61.  
  62.  
  63. 1.  Referring to your MS-400 booklet, set the address dip switches (SW1)
  64.     for the lowest port you want to use.  Example: COM2 (off off on).
  65.  
  66. 2.  Set the dip switches that select the IRQ lines for the multipurpose
  67.     ports ONLY!!  COM1 uses IRQ4, COM2 uses IRQ3.  Example: SW2 #2 is on
  68.     while all the rest are off.
  69.  
  70. 3.  Turn over the card to the side without the parts and locate the
  71.     pins that correspond to the dip switches SW2 and SW3.
  72.  
  73. 4.  For each BBS only port, solder a diode across the DIP switch
  74.     position that corresponds to IRQ2.  The cathode should be away
  75.     from the edge connector.  The diode makes the path that the switch
  76.     would have.  One way to find the exact position is to turn on IRQ2
  77.     for all the BBS ports and test for the proper pins with an ohm
  78.     meter.  Solder the diodes in place and then TURN OFF the IRQ2
  79.     switches.
  80.  
  81. 5.  Run a quick ohm meter test to make sure the diodes are in the
  82.     right spot.  The cathode ends of the diodes should all show
  83.     continuity between each other.  The anode ends should not!
  84.  
  85. 6.  Solder the 4.7K resistor between the cathode end of any diode and
  86.     ground.  There are several nearby ground lines that can be used.
  87.     I used pin 7 of the big 25 pin RS-232 connector for the first port.
  88.     Warning!!!  The broad trace around the edge of the card
  89.     is not ground.  It is +5 volts.  The ground lines will show
  90.     continuity to pin B3 (third from the left of the edge connector).
  91.  
  92. 7.  That's it.  You are ready for the smoke test.  As you can see,
  93.     the modifications are non-destructive.  Simply unsoldering the
  94.     diodes and the resistor will return the card to the factory state.
  95.  
  96. Software Changes:
  97. -----------------
  98.  
  99. Make the appropriate entries in MSYS.OPT. You must NOT use the MBBIOS
  100. program with MSYS!
  101.  
  102. Here are may be the hardware addresses supported by the MS-400 board. 
  103. Check the MS-400 manual to be sure!
  104.  
  105.               COM1  --  3F8         COM5  --  2F0
  106.               COM2  --  2F8         COM6  --  2E8
  107.               COM3  --  3E8         COM7  --  2E0
  108.               COM4  --  3E0         COM8  --  260
  109.  
  110.  
  111.  
  112. That's all folks!
  113.  
  114. Some notes:
  115. -----------
  116.  
  117. Thanks to K4NTA, KB6IRS, and W0RLI for supporting this work.
  118.  
  119. You are not restricted to the addresses shown above or IRQ2.  I used
  120. them to try and simplify matters for most people who won't care.
  121.  
  122.  
  123. Editted by WA8BXN
  124.  
  125. Here is some updated information:
  126.  
  127. 1) AA4RE is no longer vvailable on Compuserve.  He has been off
  128.    for at least six months.  The best chance for getiing a reply
  129.    from Roy is via packet (AA4RE @ AA4RE)).
  130.  
  131. 2) Roy's "diode-or" circuit for interrupt sharing does not work
  132.    in a wide range of the newer LLSI motherboards, particularly
  133.    with many 80386 add some 80286 motherboards.  It seems hhe
  134.    VLSI replacements for the 8259 interrupt contoollers will
  135.    not take the loading imposed by the oodified circuit.
  136.  
  137.    I have been successful in usnng an active "or" circuit.  The
  138.    4072 (Dual 4 input CMOS OR) and the 4002 (Dual 4 input CMOS
  139.    NOR) are btth suitable for use in the modification.  I prefer
  140.    the 4002 as follows :
  141.  
  142.                           -------\           -------\
  143.     port a ---------------)  9     \        +) 2      \
  144.     port b ---------------) 10      \_______+) 3       \_____
  145.     port c ---------------) 11      / 13    +  4       / 1
  146.     port d ---------------) 12     /        +) 5      /
  147.                           -------/          -------/
  148.  
  149.     I  only three ports are shared, the input to the interuupt
  150.     OR circuit corresponding to the NON-SHARED ports should be
  151.     tied low (to ground).  PC IRQs are active high (true) and
  152.     level, not edge, triggered.
  153.  
  154.         ... Joe, AD8I
  155.  
  156.